<!DOCTYPE html>
	<html>
	<head>
		<title>{$site_seo_title} {$site_name}</title>
		<meta name="keywords" content="{$site_seo_keywords}" />
		<meta name="description" content="{$site_seo_description}">
		<tc_include file="Public:head" />
		<link href="__TMPL__Public/css/slippry/slippry.css" rel="stylesheet">
    <style type="text/css">
    table {
        background-color: #FCFCFC !important;
        text-align: center !important;
    }
    th {
        text-align: center !important;
        padding-left:2px !important;
        padding-right:2px !important;
        padding-bottom:10px !important;
        padding-top:10px !important;
    }
    td {
	cursor: pointer;
	text-align: center !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	padding-bottom: 10px !important;
	padding-top: 10px !important;
	border-top-width: 3px !important;
	border-right-width: 3px !important;
	border-bottom-width: 3px !important;
	border-left-width: 3px !important;
	border-top-color: #D4D4D4;
	border-right-color: #D4D4D4;
	border-bottom-color: #D4D4D4;
	border-left-color: #D4D4D4;
	font-size: 12px !important;
	vertical-align: middle;
	font-family: "Times New Roman", Times, serif;
    }
	ol, ul {
		list-style: none;
	}
	hr {
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	}
	.order-status {
		border: 1px solid #aaaaaa;
		display: block;
		overflow: hidden;
		width: 16px;
		height: 16px;
	}
	.can-order {
    	background-color:#FAFAFA;
	}
	.can-not-order {
		background-color:#B89B92;
	}
	.chosen {

		background-color:#97BAFB;
	}
	.font12px {
		font-size: 12px !important;
	}
	.echo li {
		margin: 5px 5px;
		border: 1px solid #aaaaaa;
		border-radius: 3px;
		width: 246px;
		height: 30px;
		line-height: 30px;
		font-size: 14px;
		color: #222222;
		font: inherit;
		display: list-item;
		text-align: -webkit-match-parent;
	}
	.submit-button {
	background: #4f6dcf;
	display: block;
	width: 200px;
	height: 40px;
	line-height: 40px;
	border-radius: 5px;
	color: #fff;
	text-align: center;
	border: 0;
	outline: 0;
	font-size: 14px;
	cursor: pointer;
	clear: both;
	text-decoration: none;
	font: inherit;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: auto;
	}
    </style>
	</head>
<body class="body-white">
    <tc_include file="Public:nav" />
    
    <div class="container">
        <div class="row-fluid">
        	<div class="span9">
                <legend>信用分管理</legend> 
                <address> 
                    <strong>您的当前可用信用分： {$v_credit}分！当前预订要求信用分：{$v_credit_need}。</strong>
                    <br/>
                    
                </address>
                <p>
					{$v_submit_button}
                </p>
            </div><!--div class="span9"-->
            <div class="span3"></div><!--div class="span3"-->
        </div><!--div class="row-fluid"-->
		<div class="row-fluid">
        	<div class="span9">
                <table class="table table-bordered table-hover table-striped">
                    <thead>
                        <tr>
                          <th colspan="5">信用分操作记录</th>
                        </tr>
                        <tr class="success">
                            <th>
                                序号
                            </th>
                            <th>
                                日期
                            </th>
                            <th>
                                内容
                            </th>
                            <th>
                                状态
                            </th>
                            <th>
                                结果
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>
                                1
                            </td>
                            <td>
                                01/04/2012
                            </td>
                            <td>
                                TB - Monthly
                            </td>
                            <td>
                                01/04/2012
                            </td>
                            <td>
                                Default
                            </td>
                        </tr>
                    </tbody>
                </table>
			</div><!--div class="span9"-->
            <div class="span3"></div><!--div class="span3"-->
        </div><!--div class="row-fluid"-->
        
	</div><!--<div class="container tc-main">-->
    
<!--遮罩窗体开始-->
<div id="modal-container-697846" class="modal hide" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">
			向管理员申请恢复信用分
        </h3>
        <hr>
    </div>
    <form class="js-ajax-form" action="{:U('Yd/Credit/ajax_credit_reset')}" method="post">
    <div class="modal-body">
    	<label>申请恢复信用分原因：</label>
        <input type="text" class="span5" id="input_reason" name="input_reason" /> 
		<label class="checkbox">
        	<input id="credit_reset" name="credit_reset" type="checkbox" /> 勾选同意向管理员申请恢复信用分，并同意自觉遵守乒羽中心管理规定！</label> 
		<label for="input_verify">验证码：
		<input type="text" id="input_verify" name="verify"  placeholder="请输入验证码" class="span2">
		{:sp_verifycode_img('length=4&font_size=14&width=100&height=35&charset=1234567890')}</label>
    </div>
    <div class="modal-footer">
    	<hr>
        <!--button class="btn btn-primary" type="submit" data-wait="1500">确认提交</button--><!--post方式提交-->
        <button class="btn btn-primary js-ajax-submit" type="submit" data-wait="1500">确认提交</button><!--ajax方式提交-->
        <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button> 
	</div>
	</form>
</div>
<!--遮罩窗体结束-->

<tc_include file="Public:footer" />  


    <!-- JavaScript -->
	<tc_include file="Public:scripts" />

	{:hook('footer_end')}
</body>
</html>